#include "stdafx.h"
#include "TestBranch.h"
#include "Branch.h"

using namespace PDMS::PDMSFrame;
using namespace PDMS::PDMSDomain;


CPPUNIT_TEST_SUITE_REGISTRATION( TestBranch );


TestBranch::TestBranch()
{
}


TestBranch::~TestBranch()
{
}

void TestBranch::TestBranchReg()
{
	Tree* pTree = PDMSClassRegister::Instance()->CreateObject( _T("Branch") );
	CPPUNIT_ASSERT( pTree != NULL );
	CPPUNIT_ASSERT( pTree->IsKindOf( UE_RUNTIME_CLASS( Branch ) ) );
}